package cn.cangfei.massage.mapper;

import cn.cangfei.massage.entity.MassageOutpatient;
import cn.cangfei.massage.entity.MassageOutpatientExample;

import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface MassageOutpatientMapper extends BaseMapper<MassageOutpatient> {
    long countByExample(MassageOutpatientExample example);

    int deleteByExample(MassageOutpatientExample example);

    int deleteByPrimaryKey(Long id);

    int insert(MassageOutpatient record);

    int insertSelective(MassageOutpatient record);

    List<MassageOutpatient> selectByExample(MassageOutpatientExample example);

    MassageOutpatient selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") MassageOutpatient record, @Param("example") MassageOutpatientExample example);

    int updateByExample(@Param("record") MassageOutpatient record, @Param("example") MassageOutpatientExample example);

    int updateByPrimaryKeySelective(MassageOutpatient record);

    int updateByPrimaryKey(MassageOutpatient record);
}
